package edu.cuc.akkaDay01.demo04;

import akka.actor.UntypedActor;
import scala.Option;

/**
 * Created by bingruiqi on 2017/9/10.
 */
public class RestartActor extends UntypedActor {
    public static enum Msg {
        DONE,RESTART;
    }

    @Override
    public void preStart() throws Exception {

    }

    @Override
    public void postStop() throws Exception {
        super.postStop();
    }

    @Override
    public void postRestart(Throwable reason) throws Exception {
        super.postRestart(reason);
    }

    @Override
    public void preRestart(Throwable reason, Option<Object> message) throws Exception {

    }

    @Override
    public void onReceive(Object o) throws Exception {

    }
}
